import request from '@/utils/request'
import {LOCAL_SERVICE} from '@/config/index.js'

//  获取新闻类型
export function getNewsType () {
	return request.get({
		url: LOCAL_SERVICE + '/news/get-news-type'
	})
}

//  分页获取新闻
export function getNewsPage () {
	return request.get({
		url: LOCAL_SERVICE + '/news/get-news-page'
	})
}